package com.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 采购商品详情
 */
@Data
@TableName("t_apply_info")
public class ApplyInfoEntity implements Serializable {

    @TableId(value = "pk_id", type = IdType.AUTO)
    private long apply;

    @TableField("a_applyRef")
    private String applyRef;//采购申请编号

    @TableField("a_applyNumber")
    private int applyNumber;//采购数量

    @TableField("a_productName")
    private String productName;//商品名

    @TableField("a_productRef")
    private String productRef;//商品编号

    @TableField("a_color")
    private String color;//颜色

    @TableField("a_size")
    private String size;//大小

    @TableField(exist = false)
    private ProcureApplyEntity procureApplyEntity; //采购商品对应的采购申请


}
